AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')

local function PainKiller(ply, inflictor, attacker, damage, dmginfo)
	if !ply || !ply:IsPlayer() then return end
	
	if ply:GetNWBool("Pain Killerd") then
		dmginfo:ScaleDamage(0.625)
	end
end
hook.Add("EntityTakeDamage", "Painkiller", PainKiller)